Skip to content

Add dotnet 10 lambda runtime support#138

Open
blair55 wants to merge 4 commits into
anomalyco:masterfrom
blair55:master
Open

Add dotnet 10 lambda runtime support#138
blair55 wants to merge 4 commits into
anomalyco:masterfrom
blair55:master

Conversation

@blair55
Copy link
Copy Markdown
Contributor

@blair55 blair55 commented May 16, 2026

as per this PR from 2024 anomalyco/sst#3734 🙏


Summary

Adds support for the dotnet10 Lambda runtime, including local dev workflows.

Changes

  • packages/sst/package.json: Updated aws-cdk-lib from 2.224.0 to 2.233.0 — the minimum version that includes CDKRuntime.DOTNET_10.
  • packages/sst/src/constructs/Function.ts: Added dotnet10: CDKRuntime.DOTNET_10 to the supportedRuntimes map, making "dotnet10" a valid Runtime type.
  • packages/sst/src/runtime/handlers/dotnet.ts: Added dotnet10 entries to both FRAMEWORK_MAP ("net10.0") and BOOTSTRAP_MAP ("dotnet10-bootstrap"), enabling local dev invocation via dotnet exec.
  • packages/sst/support/dotnet10-bootstrap/: New bootstrap project targeting net10.0, with pre-built release/ binaries (built with dotnet 10 SDK).
  • packages/sst/build.mjs: Added "dotnet10-bootstrap" to the list of support packages copied during build.

Usage

new Function(stack, "MyFunction", {
  runtime: "dotnet10",
  handler: "MyAssembly::MyNamespace.MyFunction::FunctionHandler",
});

@netlify
Copy link
Copy Markdown

netlify Bot commented May 16, 2026

Deploy Preview for sst-docs canceled.

Name Link
🔨 Latest commit a6aa265
🔍 Latest deploy log https://app.netlify.com/projects/sst-docs/deploys/6a087be06e69800008384583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants